package com.Iconcat.system.util;

public class MyUtils {
    public static Boolean isEmpty(String value){
        return value == null || "".equals(value.trim());
    }
    /**
     * trim-去掉头尾空白字符，null值也会返回成空字符串
     */
    public static String trim(String value) {
        if (isEmpty(value)) {
            return "";
        }
        return value.trim();
    }
}
